//
//  Colors.h
//  Yingka
//
//  Created by it on 7/14/19.
//  Copyright © 2019 it. All rights reserved.
//

#ifndef Colors_h
#define Colors_h

#define MainColor         rgba(76, 132, 255)   //主要蓝色

#define LabColor_230      rgba(230,230,230)
#define LabColor_204      [UIColor colorWithRed:204/255.0 green:204/255.0 blue:204/255.0 alpha:1.0]
#define LabColor_179      [UIColor colorWithRed:179/255.0 green:179/255.0 blue:179/255.0 alpha:1.0]
#define LabColor_153      rgba(153,153,153)
#define LabColor_222      rgba(222,222,222)
#define SeconderyColor     [UIColor colorWithRed:0/255.0 green:0/255.0 blue:0/255.0 alpha:1.0]

#define LineColor [UIColor colorWithRed:177.0/255.0 green:188.0/255.0 blue:199.0/255.0 alpha:1]

#define HeilightTextColor [UIColor colorWithRed:255.0/255.0 green:189.0/255.0 blue:142.0/255.0 alpha:1]
#define PrimaryTextColor [UIColor whiteColor]
#define ThirdTextColor [UIColor colorWithRed:170.0/255.0 green:175.0/255.0 blue:186.0/255.0 alpha:1]
#define YellowText [UIColor colorWithRed:1.0 green:182.0/255.0 blue:130.0/255.0 alpha:1]

#define viewBGColor [UIColor colorWithRed:245.0/255.0 green:245.0/255.0 blue:245.0/255.0 alpha:1.0]

#define rgba(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

#define rgbaa(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a]

#define hexColor(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#endif /* Colors_h */
